<template>
	<view>
		<u-navbar title="我的行程" :background="{background: 'transparent'}" back-icon-color="#000" title-color="#000"
			:border-bottom="false">
			<navigator url="./fapiao" slot="right" style="margin-right: 40rpx;">开发票</navigator>
		</u-navbar>
		<view class="order-list">
			<view class="order-info">
				<view class="title">滴滴打车</view>
				<view class="order-time">
					<text>2021年03月14日 12:00</text>
					<text>已取消></text>
				</view>
				<view class="order-start"><text class="green"></text>庐山酒店</view>
				<view class="order-end"><text class="red"></text>国贸地铁站</view>
			</view>
			<view class="order-info">
				<view class="title">滴滴打车</view>
				<view class="order-time">
					<text>2021年03月14日 12:00</text>
					<text>已完成></text>
				</view>
				<view class="order-start"><text class="green"></text>庐山酒店</view>
				<view class="order-end"><text class="red"></text>国贸地铁站</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			};
		}
	}
</script>
<style>
	page {
		background-color: #FFFFFF;
	}
</style>
<style lang="scss">
	.order-list {
		.order-info {
			padding: 30rpx;
			border-bottom: 2rpx solid #F2F2F7;

			.title {
				padding: 10rpx 0;
				font-size: 32rpx;
				font-weight: 400;
				color: #333333;
			}

			.order-time {
				padding: 10rpx 0;
				width: 100%;
				display: flex;
				align-items: center;
				justify-content: space-between;
				font-size: 24rpx;
				font-weight: 400;
				color: #999999;
			}

			.order-start {
				padding: 10rpx 0;
				display: flex;
				align-items: center;
				justify-content: flex-start;
				flex-direction: row;
			}

			.order-end {
				padding: 10rpx 0;
				display: flex;
				align-items: center;
				justify-content: flex-start;
				flex-direction: row;
			}

			.red {
				width: 15rpx;
				height: 15rpx;
				border-radius: 50%;
				background-color: #FD5C5B;
				margin-right: 10rpx;
			}

			.green {
				width: 15rpx;
				height: 15rpx;
				border-radius: 50%;
				background-color: #49B992;
				margin-right: 10rpx;
			}
		}
	}
</style>
